﻿CREATE TRIGGER LoanInstallmentPayments_Tracking_Update
ON [dbo].[LoanInstallmentPayments] 
AFTER Update
AS 
BEGIN
	UPDATE Sync.LoanInstallmentPayments_Tracking 
	SET LastUpdatedDate  = getdate()
    FROM Sync.LoanInstallmentPayments_Tracking s JOIN INSERTED i
    ON s.LoanInstallmentPaymentID = i.LoanInstallmentPaymentID
END











